﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseNet.Core.Dtos
{
    /// <summary>
    /// 基础Id
    /// </summary>
    public class PrivateEntityBase
    {
        public PrivateEntityBase()
        {
            Id = Guid.NewGuid().ToString("N");
        }

        /// <summary>
        /// 主键id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
    }
}
